<extend name="Public/layout"/>
<block name="head">
          <link rel="stylesheet" href="__PUBLIC__css/n-index.css?A=<php>echo time()</php>">
<style type="text/css">
.footer{
    display: none;
}
</style>
</block>
<block name="main">
        <div class="header">
          <div class="logo">
            <img src="__PUBLIC__images/fx_logo.png" width="100%" height="100%">
          </div>
          <!-- <div class="user-button">
            <a class="reg" href="#">注册</a>
            <a class="login" href="#">登录</a>
          </div> -->
        </div>

        <div class="user-info">
          <div class="user-msg-top">
            <div class="head-img"> <img src="{$user_info.url_img}" width="100%" height="100%"></div>
            <div class="user-content">
              <div class="user-name">{$user_info.nickname}</div>
              <div class="user-role">
                <div class="role-tag"><if condition="$user_info['role'] eq 2">理财投顾<else/>投资用户</if></div>
                <span>8号金币：{$user_info.score}个</span>
              </div>
            </div>
          </div>

          <div class="push-data">
                  <ul>
                   <li><div class="p_listcontent"><b>{$recom.year}</b><span>年</span></div> <h4>网贷投资</h4></li>
                    <li><div class="p_listcontent"><b>{$recom.platform_num}</b><span>个</span></div> <h4>投资平台</h4></li>
                    <li><div class="p_listcontent"><b>{$recom.pit_num}</b><span>次</span></div> <h4>踩雷次数</h4></li>
                  </ul>
          </div>
          <div class="jj_content">
                简介：<notempty name="recom.introduce"> {:msubstr($recom[introduce],0,22)} <else/> 这个家伙很懒，什么都没留下</notempty>
          </div>


        </div>


        <div class="circle_info">
          <div class="circle_title">圈子评价</div>
          <ul class="c_info_data">
              <li onclick="location.href='/Home/Person/my_info_dynamic/user_id/{$_GET[user_id]}/val/2'"><h4>{$depth_count}</h4><span>深度评测</span></li>
              <li onclick="location.href='/Home/Person/my_info_dynamic/user_id/{$_GET[user_id]}/val/3'"><h4>{$announce_count}</h4><span>信披解读</span></li>
              <li onclick="location.href='/Home/Person/my_info_dynamic/user_id/{$_GET[user_id]}/val/4'"><h4>{$opinion_count}</h4><span>舆情解读</span></li>
              <li onclick="location.href='/Home/Person/my_info_dynamic/user_id/{$_GET[user_id]}/val/1'"><h4>{$commentary_count}</h4><span>平台短评</span></li>
          </ul>
        </div>


        <div class="red_bag">
            <div class="tt_bag">他的红包</div>
            <foreach name="packet" item="v">
                <div class="bag_title">
                  <div class="plat_logo">
                    <img width="100%" height="100%" src="{$v.platform_info.pic}">

                  </div>
                  <span>共<red style="color: red">{$v.scheme_count}</red>个现金红包</span>
                </div>
                
                      <div class="swiper-container" style="width:calc(100vw + 2rem) !important;">
                        <div class="packet swiper-wrapper">
                          <foreach name="v.scheme" item="vv">
                          <div class="swiper-slide">
                              <div class="pack_invest"><b>{$vv.user_award}</b><span>元</span></div>
                              <span class="pack_title">最佳首投奖励</span>
                              <div class="pack_tj">
                                        <div class="tj_info"><b>{$vv.yields}%</b><span>往期年化</span></div>
                                        <div class="tj_border"></div>
                                        <div class="tj_info"><b>{$vv.start_amount}元</b><span>起投金额</span></div>
                              </div>
                              <a href="/Home/Financial/event/id/{$v.platform_info.id}/packet/{$user_info.id}">领取红包</a>
                          </div>
                          </foreach>
                        </div>
                      </div>
                
            </foreach>

            <div style="height: 1.71rem; width: 100%"></div>
        </div>

        <div class="bottom_flex">
          <div class="app_logo">
            <img src="__PUBLIC__images/icon_logo.png" width="100%">
          </div>
           <div class="app_push">
              <span>8号金融街App</span>
              <h4>做最温暖的网络理财第三方服务平台</h4>
            </div>

            <a class="d_app" href="http://www.8hjie.com/home/Agreement/download_app.html">打开APP</a>
        </div>

</block>
<block name="js">
    <script type="text/javascript">
        window.onload = function () {
        var topSwiper = new Swiper('.swiper-container', {
        pagination: '.swiper-pagination',
        autoplayDisableOnInteraction: false,
        direction: 'horizontal',
        paginationClickable: true,
        slideToClickedSlide: true,
        loop: false,
        slidesPerView: 2.53,
      //  autoplay: 2000
    });
  }
    </script>

</block>
